﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ManagerUserList.aspx.cs" Inherits="Manager_User_PageData_ManagerUserList" MasterPageFile="~/Manager/User/PageData/MasterPage.master" %>

<asp:Content ID="Head" ContentPlaceHolderID="HeadPlaceHolder" runat="server">

</asp:Content>


<asp:Content ID="Content" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="images/tab_03.gif" width="15" height="30" /></td>
        <td width="1101" background="images/tab_05.gif"><img alt="" src="images/311.gif" width="16" height="16" /> <span class="STYLE4">管理用户列表</span></td>
        <td width="281" background="images/tab_05.gif"><table border="0" align="right" cellpadding="0" cellspacing="0">
            <tr>
              <td width="60"><table width="90%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center"><img alt="" src="images/001.gif" width="14" height="14" /></div></td>
                    <td class="STYLE1"><div align="center"><a  href="ManangerUser.aspx?action=add">新增</a></div></td>
                  </tr>
              </table></td>
            </tr>
        </table></td>
        <td width="14"><img alt="" src="images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="9" background="images/tab_12.gif">&nbsp;</td>
        <td bgcolor="#f3ffe3"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#c0de98" onmouseover="changeto()"  onmouseout="changeback()">
          <tr>
            <td width="8%" height="26" background="images/tab_14.gif" class="STYLE1"><div align="center" class="STYLE2 STYLE1">选择</div></td>
            <td width="20%" height="26" background="images/tab_14.gif" class="STYLE1"><div align="center" class="STYLE2 STYLE1">用户名</div></td>
            <td width="25%" height="26" background="images/tab_14.gif" class="STYLE1"><div align="center" class="STYLE2 STYLE1">创建时间</div></td>
            <td width="10%" height="18" background="images/tab_14.gif" class="STYLE1"><div align="center" class="STYLE2 STYLE1">状 态</div></td>
            <td width="20%" height="18" background="images/tab_14.gif" class="STYLE1" colspan="2"><div align="center" class="STYLE2">编 辑</div></td>
            <td width="10%" height="18" background="images/tab_14.gif" class="STYLE1"><div align="center" class="STYLE2">删除</div></td>
          </tr>
          <% foreach (AD.Model.ManagerUserMod user in Users)
             { %>
          <tr>
            <td height="18" bgcolor="#FFFFFF"><div align="center" class="STYLE1">
              <input name="checkbox" type="checkbox" class="STYLE2" value="checkbox" />
            </div></td>
            <td height="18" bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1"><%=user.UserName %></div></td>
            <td height="18" bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1"><%=user.CreateDate.ToString("yyyy年MM月dd日") %></div></td>
            <td height="18" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1"><%=user.IsValid==true?"可用":"禁用" %></div></td>
            <td height="18" bgcolor="#FFFFFF"><div align="center"><img alt="" src="images/037.gif" width="9" height="9" /><span class="STYLE1"> [</span><a href="ManagerUserList.aspx?ids=<%=user.AutoID%>&action=valid&params=<%=!user.IsValid%>" onclick="return confirmMsg(this.text)" title="点击<%=user.IsValid == true ? "禁用" : "可用"%>"><%=user.IsValid == true ? "禁用" : "可用"%></a><span class="STYLE1">]</span></div></td>
            <td height="18" bgcolor="#FFFFFF"><div align="center"><img alt="" src="images/037.gif" width="9" height="9" /><span class="STYLE1"> [</span><a href="ManangerUser.aspx?id=<%=user.AutoID%>&action=edit"  title="点击修改数据" >编辑</a><span class="STYLE1">]</span></div></td>
            <td height="18" bgcolor="#FFFFFF"><div align="center"><span class="STYLE2"><img src="images/010.gif" width="9" height="9" /> </span><span class="STYLE1">[</span><a href="ManagerUserList.aspx?ids=<%=user.AutoID%>&action=delete" title="点击删除数据" onclick="return confirmDelete('<%=user.UserName %>')">删除</a><span class="STYLE1">]</span></div></td>
          </tr>
          <%} %>
        </table></td>
        <td width="9" background="images/tab_16.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="29"><img src="images/tab_20.gif" width="15" height="29" /></td>
        <td background="images/tab_21.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="25%" height="29" nowrap="nowrap"><span class="STYLE1">共<%=Users.Count %>条纪录</span></td>
            <td width="75%" valign="top" class="STYLE1"><div align="right">
              <table width="352" height="20" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  
                </tr>
              </table>
            </div></td>
          </tr>
        </table></td>
        <td width="14"><img src="images/tab_22.gif" width="14" height="29" /></td>
      </tr>
    </table></td>
  </tr>
</table>
</asp:Content>